package com.crm.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 公司
 * </p>
 *
 * @author zjd
 * @since 2021-04-01
 */
@Data
@ApiModel(value="CompanyVO对象", description="公司")
public class CompanyVO {

    private Long id;

    @ApiModelProperty(value = "公司域名")
    private String companyDomain;

    @ApiModelProperty(value = "公司名称")
    private String name;

    @ApiModelProperty(value = "父公司id")
    private Long parentCompanyId;

    @ApiModelProperty(value = "创建用户id")
    private Long createUserId;

    @ApiModelProperty(value = "所属用户id")
    private Long ownerUserId;

    @ApiModelProperty(value = "所属行业id")
    private Long industryId;

    @ApiModelProperty(value = "公司类型 合伙人，代理商，供应商，其他")
    private Long type;

    @ApiModelProperty(value = "地址")
    private String stateRegion;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "邮政编码")
    private String postalCode;

    @ApiModelProperty(value = "公司员工数量")
    private Long employeeNumber;

    @ApiModelProperty(value = "公司时区")
    private String timeZone;

    @ApiModelProperty(value = "年收入")
    private BigDecimal annualRevenue;

    @ApiModelProperty(value = "联系电话")
    private String phoneNumber;

    @ApiModelProperty(value = "联系人集合")
    List<ContactVO> contactVOList;

    @ApiModelProperty(value = "交易集合")
    List<DealVO> dealVOList;

    @ApiModelProperty(value = "票证集合")
    List<TicketVO> ticketVOList;

    @ApiModelProperty(value = "附件集合")
    List<AttachmentVO> attachmentVOList;
}
